package com.common.aliyun.sms.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zhengzg
 * @create 2023-09-15 17:58
 */
@Data
@Component
@ConfigurationProperties(prefix = "aliyun.sms")
public class SmsProperties {

    /**
     * 签名
     */
    private String signName;

    /**
     * 短信模板
     */
    private String templateCode;

    /**
     * accessKey
     */
    private String accessKey;

    /**
     * secret
     */
    private String secret;

    /**
     * 访问的域名
     */
    private String endpoint;
}
